Infixs\CorreiosAutomatico\Services\UnitService A

Total Complexity 52
Dependencies 11
Dependents 2
Total lines 395
Lines of code 266
Logical lines of code 116
Comment lines 50
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
addUnitToInvoice()
A
42 9 55
unitPacketByOrder()
A
45 10 38
prepareData()
A
49 8 27
register()
S
46 5 36
getUnits()
S
54 5 21
update()
S
54 3 21
cancel()
S
58 3 15
prepareCodeData()
S
66 2 9
resolveInvoice()
S
72 2 6
__construct()
S
77 1 4
getAllUnits()
S
64 1 10
createPendingUnit()
S
64 1 10
processOperatorName()
S
67 1 7
getAndIncrementDispatchNumber()
S
69 1 7